package org.jeecg.modules.gongqiang.service;

import org.jeecg.modules.gongqiang.entity.GoodDetail;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;

/**
 * @Description: 商品详情
 * @Author: jeecg-boot
 * @Date:   2024-06-12
 * @Version: V1.0
 */
public interface IGoodDetailService extends IService<GoodDetail> {

	/**
	 * 通过主表id查询子表数据
	 *
	 * @param mainId 主表id
	 * @return List<GoodDetail>
	 */
	public List<GoodDetail> selectByMainId(String mainId);

    GoodDetail getByIdLock(String goodDetailId);
}
